package com.example.bank.dao;

import com.example.bank.pojo.record.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ：Leeziqiang
 * @description：TODO
 * @date ：2022/1/18 13:54
 */
@Mapper
public interface ResultDao {

    Result findById(@Param("id") String resultId);

    int addResult(@Param("id") String id, @Param("fire") String fire, @Param("water") String water,
                  @Param("struct") String struct,
                  @Param("appearance") String appearance, @Param("kilo") String kilo,
                  @Param("import") String important, @Param("maintainTime") String maintainTime,
                  @Param("repairTime") String repairTime, @Param("shopTime") String shopTime,
                  @Param("lastKilo") String lastKilo);

//    int updateResult();
}
